//
//  UIImagePickerController+Block.h
//  JQKit
//
//  Created by JQZ on 2017/12/29.
//  Copyright © 2017年 JQZ. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^UIImagePickerDidFinishPickingHandle)(UIImagePickerController *picker, NSDictionary *info, UIImage *originalImage, UIImage *editedImage);
typedef void (^UIImagePickerDidCancelHandle)(UIImagePickerController *picker);

@interface UIImagePickerController (Block)<UINavigationControllerDelegate, UIImagePickerControllerDelegate>

@property (nonatomic, copy) UIImagePickerDidFinishPickingHandle didFinishPickingHandle;
@property (nonatomic, copy) UIImagePickerDidCancelHandle didCancelHandle;

- (id)initWithSourceType:(UIImagePickerControllerSourceType)source didFinishPickingHandle:(UIImagePickerDidFinishPickingHandle)didFinishPickingHandle didCancelHandle:(UIImagePickerDidCancelHandle)didCancelHandle;

@end
